package controllers;

import java.util.List;

import models.Serie;
import models.User;
import play.mvc.With;

import common.FBSecure;

@With(FBSecure.class)
public class TopTen extends FBController{
	
public static void topten(){		
		
		setFbIdandName();
		
    	List<Serie> rateList = Serie.getSeriesOrderByRateTopTen();
    	List<Serie> followersList = Serie.getSeriesOrderByFollowersTopTen();
    	
		
		render(rateList,followersList);
	}

}
